package com.bristua.barcode.customer.dao;

import com.bristua.barcode.customer.model.TCustomerDomain;
import com.bristua.barcode.customer.model.condition.TCustomerDomainExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TCustomerDomainMapper {
    int countByExample(TCustomerDomainExample example);

    int deleteByExample(TCustomerDomainExample example);

    int deleteByPrimaryKey(String domainId);

    int insert(TCustomerDomain record);

    int insertSelective(TCustomerDomain record);

    List<TCustomerDomain> selectByExample(TCustomerDomainExample example);

    TCustomerDomain selectByPrimaryKey(String domainId);

    int updateByExampleSelective(@Param("record") TCustomerDomain record, @Param("example") TCustomerDomainExample example);

    int updateByExample(@Param("record") TCustomerDomain record, @Param("example") TCustomerDomainExample example);

    int updateByPrimaryKeySelective(TCustomerDomain record);

    int updateByPrimaryKey(TCustomerDomain record);
}